<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <h2>这是要干啥</h2>
  </div>
</template>

<script>
  import swiper from 'swiper.vue';
export default {
  name: 'sangang',
  data () {
    return {
      msg: '三岗教育考试'
    }
  },
  mounted(){
     var swiper = new Swiper('.swiper-container', {
            pagination: '.swiper-pagination',
            paginationClickable: true,
            loop: true,
            speed: 600,
            autoplay: 1000
        });
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
